import { Card } from 'antd';
import React from 'react';

/**
 * 本地 PDF 查看器基础页面
 */
const ViewLocalPdf: React.FC = () => {
  return (
    <div >
      <Card title="本地 PDF 查看器" >
        <div>
          <p>请拖拽或点击上传本地 PDF 文件</p>
        </div>
      </Card>
      <Card title="PDF" >
        <div>
          {/* <!-- /Users/jianyijianse/work/project/wf/wf-electron-app/doc/test-file/3.pdf --> */}
          <iframe src="file:///Users/jianyijianse/work/project/wf/wf-electron-app/doc/test-file/3.pdf" type="application/pdf" width="100%" height="600px" />
        </div>
      </Card>
    </div>
  );
};

export default ViewLocalPdf;
